<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class WebnoticeForm extends SysConfig
{
    public $site_notice;//公告内容
    /**
     * @inheritdoc 验证规则
     */
    public function rules()
    {
        return [
            [['site_notice'],'string','max' => 150],
        ];
    }

    public function attributeLabels()
    {
        return [
            'site_notice' => '公告内容',
        ];
    }
}